import request from "@/utils/request";
// 附属设备-充电桩查询
export function API_getchargeName(data) {
  return request({
    url: "/deploy.accessory.equipment/charge.info.get",
    params: data,
    method: "get",
    timeout: 20000,
  });
}
// 附属设备-门查询
export function API_getdooInfo(data) {
  return request({
    url: "/deploy.accessory.equipment/door.info.get",
    params: data,
    method: "get",
    timeout: 20000,
  });
}
// 附属设备-气象站查询
export function API_getweatherInfo(data) {
  return request({
    url: "/deploy.accessory.equipment/weather.info.get",
    params: data,
    method: "get",
    timeout: 20000,
  });
}

// 附属设备-气象站保存
export function API_saveweatherInfo(data) {
  return request({
    url: "/deploy.accessory.equipment/weather.info.save",
    data: data,
    method: "post",
  });
}

// 附属设备-开关门
export function API_doorControl(data) {
  return request({
    url: "/robot.monitor/door.control",
    data: data,
    method: "post",
  });
}
